<template>
    <el-container class="zc-layout">
        <el-header class="zc-layout-header">
            <Header></Header>
        </el-header>
        <el-container class="zc-layout-company-main">
            <Aside></Aside>
            <el-main class="zc-layout-main">
                <div class="zc-layout-main-warp">
                    <router-view v-if="company.id"></router-view>
                </div>
            </el-main>
        </el-container>
    </el-container>
</template>
<script setup type="ts">
import Header from "@/views/layouts/company/header.vue";
import Aside from "@/views/layouts/company/aside.vue";
import '../../../assets/company/layout.css';
import {CompanyStore} from "@/stores/company";
import {storeToRefs} from "pinia";
const {company} = storeToRefs(CompanyStore())
</script>
